package net.hn.hnms.biz.mine.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 智呈物联 nzw
 * @date 2023/1/10
 */
@Data
public class ScoreVO implements Comparable{
    @ApiModelProperty("矿编码")
    private String name;
    @ApiModelProperty("综合得分")
    private BigDecimal score;

    @Override
    public int compareTo(Object o) {
        ScoreVO scoreVO = (ScoreVO)o;
        return this.score.compareTo(scoreVO.getScore());
    }
}
